//导入express和题库的业务逻辑处理的模块


const express = require('express');
const T_labelRouter = require('../router_handler/T_label');

const router = express.Router()
//通过科目id查询标签信息（题库方面）
router.get('/exam/T_label/list', T_labelRouter.getALLlabel)
//通过科目id查询标签信息（便签管理）
router.get('/exam/T_label/getALLlabel1', T_labelRouter.getALLlabel1)
//更新标签
router.put('/exam/T_label/update', T_labelRouter.updatet_label)
//插入标签
router.post('/exam/T_label', T_labelRouter.createt_label)
//删除标签
router.delete('/exam/T_label/delete', T_labelRouter.delete_labelById)

//导出
module.exports = router